import 'package:flutter/material.dart';

class JKProfileDetail extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Theme(
      data: Theme.of(context).copyWith(
          primaryColor: Colors.greenAccent
      ),
      child: Scaffold(
        backgroundColor: Colors.white,
        appBar: AppBar(
          title: Text("我的详情页"),
        ),
        body: Center(
          child: Column(
            mainAxisAlignment: MainAxisAlignment.center,
            children: [
              Text('我的详情页'),
            ],
          ),
        ),
        floatingActionButton: Theme(
          data: Theme.of(context).copyWith(
            colorScheme: Theme.of(context).colorScheme.copyWith(
              secondary: Colors.pink,
            )
          ),
          child: FloatingActionButton(
            child: Icon(Icons.add),
            onPressed: () {

            },
          ),
        ),
      ),
    );
  }
}
